package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 搜索历史记录表
 * </p>
 *
 * @author loupeng
 * @since 2018-12-20
 */
public class Messages extends Model<Messages> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "message_id")
	private String messageId;
	private String concent;
	private String addtime;
	private String userId;
	@TableField(exist = false)
	private String user_id;

	public String getMessageId() {
		return messageId;
	}

	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}

	public String getConcent() {
		return concent;
	}

	public void setConcent(String concent) {
		this.concent = concent;
	}

	public String getAddtime() {
		return addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@Override
	protected Serializable pkVal() {
		return this.messageId;
	}

	@Override
	public String toString() {
		return "Messages{" + "messageId=" + messageId + ", concent=" + concent + ", addtime=" + addtime + ", userId="
				+ userId + "}";
	}
}
